how to find unique elements in array in c